import Home from '../page/Home'
import My from '../page/My'
import Car from '../page/Car'
import Posi from '../page/Posi'
import Index from '../page/Index'
import Detail from '../page/Detail'

export default [{
	path: '/home',
	component: Home,
	children: [{
		path: '/home/index',
		component: Index,
		name: '首页'
	}, {
		path: '/home/car',
		component: Car,
		name: '购物车'
	}, {
		path: '/home/my',
		component: My,
		name: '我的'
	}]
}, {
	path: '/posi',
	component: Posi
}, {
	path: '/Detail',
	component: Detail
}, {
	from: '/',
	to: '/home/index'
}]